package com.fire.control.system.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "t_warning_protocol")
public class WarningProtocol extends BaseEntity{

	private static final long serialVersionUID = -9063377459538758683L;
	
	@Column
	private String name;
	@Column
	private String fport;
	@Column
	private int useByte;
	@Column
	private String warningType;
	@Column
	private Integer startIndex;
	@Column
	private Integer endIndex;
	@Column
	private int val;
	@Column
	private String desc;
	
	
	public String getWarningType() {
		return warningType;
	}
	public void setWarningType(String warningType) {
		this.warningType = warningType;
	}
	public int getUseByte() {
		return useByte;
	}
	public void setUseByte(int useByte) {
		this.useByte = useByte;
	}
	
	public Integer getStartIndex() {
		return startIndex;
	}
	public void setStartIndex(Integer startIndex) {
		this.startIndex = startIndex;
	}
	public Integer getEndIndex() {
		return endIndex;
	}
	public void setEndIndex(Integer endIndex) {
		this.endIndex = endIndex;
	}
	
	public int getVal() {
		return val;
	}
	public void setVal(int val) {
		this.val = val;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getFport() {
		return fport;
	}
	public void setFport(String fport) {
		this.fport = fport;
	}
	
	
	
}
